//SMOOTH PAGE SCROLL $(function() { $('a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html,body').animate({ scrollTop: target.offset().top }, 1000); return false; } } }); }); // Slideshow 2 $("#slider2").responsiveSlides({ auto: true, pager: true, nav: true, speed: 500, maxwidth: '2000', namespace: "transparent-btns" }); //OWL CAROSEL TESTIMONIAL $('.owl-carousel').owlCarousel({ loop:true, margin:10, nav:false, dots:true, dotsEach:true, responsive:{ 0:{ items:1 }, 600:{ items:1 }, 1000:{ items:1 } } }) $(document).ready( function() { $("html").niceScroll({ cursorcolor:"#a9c56c", scrollspeed :"100", cursorborder:"1px solid #a9c56c", horizrailenabled: "false", cursorborderradius: "0px" }); $('.fancybox').fancybox(); } ); new WOW().init(); /*Preloader*/ //